<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
<script src="jquery.uploadify.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="uploadify.css">
<form>
		<div id="queue"></div>
		<input id="uploadify" name="file_upload" type="file" multiple="true">
	</form>
	<script type="text/javascript">
		$(document).ready(function(){
		    $("#uploadify").uploadify({
		        'uploader': 'uploadify.swf',
		        'script': 'uploadify.php',
		        'cancelImg': 'uploadify-cancel.png',
		        'folder': 'UploadFile',
		        'queueID': 'fileQueue',
		        'auto': false,
		        'multi': true,
		        'onInit': function(){
		            alert("1");
		        },
		        'onSelect': function(e, queueId, fileObj){
		            alert("唯一标识:" + queueId + "\r\n" + "文件名：" + fileObj.name + "\r\n" + "文件大小：" + fileObj.size + "\r\n" + "创建时间：" + fileObj.creationDate + "\r\n" + "最后修改时间：" + fileObj.modificationDate + "\r\n" + "文件类型：" + fileObj.type);
		        }
		    });
		});
	</script>
</body>
</html>